.boxAlign(@pack: center, @align: center) {
    display: -webkit-box;
    display: box;
    -webkit-box-align: @align;
    box-align: @align;
    -webkit-box-pack: @pack;
    box-pack: @pack;
    -webkit-align-items: @align;
    align-items: @align;
}

body {
    font-family: "PingFang Medium", "PingFang SC", "Source Han Sans";
    background: #3da2fd;
    color: #333333;
}
img {
    display: block;
    width: 100%;
}
strong {
    font-family: "PingFangSC-Semibold";
    font-weight: bold;
}

[data-adapter='thsIphoneXAdapter'] {
    body {
        padding-bottom: 0.68rem;
    }

    .float{
        margin-bottom: 0.68rem;
    }
}

.hide {
    display: none !important;
}

[v-cloak] {
    display: none;
}


#app {
    max-width: 7.2rem;
    margin: 0 auto;
}

.banner {
    img {
        height: 4.53rem;
    }
}

.tabList {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0ec9ff;
    z-index: 2;

    ul {
        max-width: 7.2rem;
        margin: 0 auto;
        line-height: 0.9rem;
        height: 0.9rem;
        .boxAlign();

        li {
            font-size: 0.3rem;
            color: #fff;
            text-align: center;
            width: 25%;

            &.selected {
                color: #1564f8;

                span {
                    position: relative;

                    &::before {
                        display: block;
                        content: '';
                        position: absolute;
                        width: 0.22rem;
                        height: 0.25rem;
                        background-image: url(../images/des-selected.png);
                        background-repeat: no-repeat;
                        background-size: 0.21rem;
                        top: 50%;
                        left: -0.06rem;
                        transform: translate(-100%, -50%);
                        -webkit-transform: translate(-100%, -50%);
                    }
                }
            }
        }
    }
}

.main {
    margin: 0 0.32rem;
    border-radius: 0.28rem;
    width: 6.56rem;
    background: url(../images/des-top-left.png) no-repeat #fff;
    background-size: 1.4rem;
    background-position: 0.24rem 0.22rem;
    padding-bottom: 0.46rem;
    margin-bottom: 1.18rem;
    position: relative;
    margin-top: -0.82rem;
    
    .part {
        .title {
            width: 5.27rem;
            margin: 0 auto;
            padding: 0 0.64rem 0;
            margin-top: 1.12rem;
        }
        h2 {
            margin-top: 0.28rem;
            font-size: 0.36rem;
            line-height: 1;
            text-align: center;
            color: #000;
        }
        span {
            display: block;
            color: #9b9b9b;
            font-size: 0.26rem;
            text-align: center;
            margin-top: 0.12rem;
            line-height: 1;
        }
        div.content {
            border: #9eebff solid 0.12rem;
            border-top-width: 0.14rem;
            border-bottom-width: 0.15rem;
            border-left-width: 0.11rem;
            border-radius: 0.08rem;
            margin: 0 0.32rem;
            margin-top: 0.28rem;
            width: 5.67rem;
            height: 4.87rem;
        }
        p {
            padding: 0.12rem 0.32rem 0.08rem;
            font-size: 0.28rem;
            line-height: 0.42rem;
            color: #000;
        }
    }

    .part1 {
        .title {
            padding-top: 0.64rem;
            margin: 0;
        }
    }

    .part3 {
        div.content {
            width: 5.68rem;
            height: 5.46rem;
        }
    }
    .part5 {
        div.content {
            height: auto;
        }
    }
}


.float {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffc32a;
    height: 0.98rem;
    line-height: 0.98rem;
    width: 100%;
    color: #fff;
    font-size: 0.42rem;
    text-align: center;
    z-index: 1;
}

.bottomWhite{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background-color: #fff;

}